class Lei{
    constructor(data){
        this.data=data
        this.next=null
        
    }
    insert(index,data){
        let kamnode=this.data
        let    idx=0
        while(idx<index){
            kamnode=idx==0?this.data:kamnode.next
            idx++
        }

    }
}

let Lei1=new Lei(1)
console.log(Lei1,"一");
let Lei2=new Lei(2)
console.log(Lei2,"二");
Lei1.next=Lei2
let Lei3=new Lei(3)
Lei2.next=Lei3
console.log(Lei3,"三");
let like=new Lei(123)
like.insert(2,3333)
console.log();
